package com.luocj.brvah_srl.adapter;

import android.content.Context;
import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.luocj.brvah_srl.R;
import com.luocj.brvah_srl.activity.NestedScroActivity;

import java.util.List;

/**
 * Created by Administrator on 2017/12/8/008.
 */

public class NestedAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    private Context mContext;

    public NestedAdapter(NestedScroActivity nestedScroActivity, int layoutResId, @Nullable List<String> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder holder, String item) {
        holder.setText(R.id.tv_type_one, item);
    }
}
